package com.xayy.mgt.service;

import cn.kawins.base.result.CheckResult;
import com.xayy.core.model.Page;
import com.xayy.mgt.model.vo.DataInfoVo;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author Nie
 * @version V1.0
 * @date 2023/9/14 16:13
 */
public interface BayesService {

    CheckResult<Page<LinkedHashMap<String, Object>>> getErrorDataInfos(DataInfoVo dataInfoVo);

    CheckResult<Page<LinkedHashMap<String, Object>>> getDataInfos(DataInfoVo dataInfoVo);

    CheckResult<Object> getNodeHeader(Long nodeId);


    CheckResult<Object> computeHealth(DataInfoVo dataInfoVo);

    CheckResult<List<LinkedHashMap<String, Object>>> dataList(DataInfoVo dataInfoVo);

    CheckResult<List<LinkedHashMap<String, Object>>> errorList(DataInfoVo dataInfoVo);
}
